package se.webbzon.boltzmann.game.object.trigger;

import se.webbzon.oschi01.worldobject.WorldObject;

public enum TriggerCondition {
	
	CREATE(WorldObject.onCreate + WorldObject.onStepBegin), 
	DESTROY(WorldObject.onDestroy), 
	ENTER(WorldObject.onAreaEnter), 
	LEAVE(WorldObject.onAreaLeave);
	
	// The method to this trigger condition
	private final int method;
	
	/*============================================================
	Constructors
	============================================================*/
	
	/** Creates a new trigger condition with a method**/
	private TriggerCondition(int method) {
		this.method = method;
	}
	
	/*============================================================
	Public Methods
	============================================================*/
	
	/** Returns the method of this trigger condition. **/
	public int getMethod() {
		return method;
	}

}
